package com.tansun.easycare.core.utils;

import com.github.pagehelper.PageInfo;
import com.tansun.easycare.rule.common.model.ResponseVO;

public class ResponseTable<T> extends ResponseVO {

	private static final long serialVersionUID = 429346588520167369L;

	private  PageInfo<T>  pageInfo;
	
	public  ResponseTable() {
		super();
	}
	
	public  ResponseTable(PageInfo<T> pageInfo) {
    	     GridTable  gridTable  = new GridTable(pageInfo);
    	     this.setData(gridTable);
     }

	public PageInfo<T> getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo<T> pageInfo) {
		 this.pageInfo = pageInfo;
	     GridTable  gridTable  = new GridTable(pageInfo);
	     this.setData(gridTable);
	}
	
	
	
       
	
	
	
	
    
	
}
